package cn.wolfcode.wolf2world.elasitcsearch.service.impl;

import cn.wolfcode.wolf2world.elasitcsearch.domain.DestinationEs;
import cn.wolfcode.wolf2world.elasitcsearch.domain.TravelEs;
import cn.wolfcode.wolf2world.elasitcsearch.repository.TravelEsRepository;
import cn.wolfcode.wolf2world.elasitcsearch.service.TravelEsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 杨兴健
 * @Date 2020/8/20 12:59
 */
@Service
public class TravelEsServiceImpl implements TravelEsService {

    @Autowired
    private TravelEsRepository travelEsRepository;

    @Override
    public void save(TravelEs travelEs) {
        travelEsRepository.save(travelEs);
    }
}
